package com.um.jdy.common.alarm.entity.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.um.springboot.starter.orm.entity.BaseEntity;
import lombok.Data;
import java.util.Date;

/**
 * 告警记录表
 * @TableName alarm_record
 */
@TableName(value ="alarm_record")
@Data
public class AlarmRecord extends BaseEntity {

	/**
	 * id
	 */
	 @TableId
	 private String alarmRecordId;

	/**
	 * 租户ID
	 */
	 private String comId;

	/**
	 * 站场ID
	 */
	 private String deviceStationId;

	/**
	 * 充电桩id
	 */
	 private String devicePileId;

	/**
	 * 充电枪id
	 */
	 private String deviceGunId;

	/**
	 * 充电枪的code
	 */
	 private Integer connectorId;

	/**
	 * 故障时间
	 */
	 private Date createTime;

	/**
	 * 错误码
	 */
	 private String errorCode;

	/**
	 * 告警类型:Alarm-告警 Fault-故障
	 */
	 private String alarmType;

	/**
	 * 故障状态 New-新告警 Known-已知晓 Process-处理中 Closed-已关闭
	 */
	 private String status;

	/**
	 * 备注
	 */
	 private String remark;

	/**
	 * 
	 */
	 private String isDelete;

	/**
	 * 
	 */
	 private Date deleteTime;


}
